package com.kly.user.chatterService;

import com.fqgj.common.api.Response;
import com.kly.user.dto.UserInfoDto;
import com.kly.user.dto.chatter.response.AlbumsResponseDto;
import com.kly.user.dto.chatter.response.ChatterDashboardDto;
import com.kly.user.dto.chatter.response.UserChatterDto;
import com.kly.user.dto.chatter.response.UserChatterModeDto;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ChatterUserService {

    UserInfoDto login(String account, String accountPassword);

    List<AlbumsResponseDto> getImageUrl(String userCode, Integer type);

    Date getDateTime(String userCode);

    Map<String, UserChatterModeDto> getModeList(String userCode);
    /**
     * chatter操作日志
     */
    Response storeEventLog(String userCode, String url, Long costTime);
    /**
     * 读取chatter下所有model
     */
    Response<List<String>> getModelUserCodes(String chatterUserCode);

    /**
     * 获取所有的chatter
     */
    Response<List<UserChatterDto>> getAllChatters();

    /**
     * 获取chatter
     */
    Response<UserChatterDto> getChatter(String modelUserCode);

    /**
     * 获取chatter在线率、回复及时率、聊天人数、新聊天人数数据
     * date：查询指定日期数据，无值时查询当天数据
     */
    Response<ChatterDashboardDto> getChatterDashboardInfo(Integer date, String chatterUserCode);

    List<UserChatterModeDto> getModesByModelUserCodes(List<String> modelUserCodes);

    List<UserChatterModeDto> getModesByChatterAccount(String chatterAccount);


}
